<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="http://127.0.0.1:8000/rangking_list/" method="post">
    <label>客户端：
        <input type="text" name="name" />
    </label>
    <p></p>
    <label>开始范围：
        <input type="text" name="start" />
    </label>
        <label>结束范围：
        <input type="text" name="end" />
    </label>
    <p></p>
    <input type="submit" value="提交">
</form>
<table>
    <tr>
        <th>排名</th>
        <th>名字</th>
        <th>分数</th>
    </tr>
    {% for i in data %}
        <tr>
            <td>{{ i.0}}</td>
            <td>{{ i.1}}</td>
            <td>{{ i.2}}</td>
        </tr>
    {% endfor %}
</table>
</body>
</html>